

.g_sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    _display: none;
    opacity: 1;
    z-index: 3000;
    width: 34px;
    background-color: #3e5165;
    -webkit-animation: sidebarshow .5s;
    
    color: #fff;
    ul{
        position: absolute;
        width: 100%;
    }
    li{
        position: relative;
        text-align: center;
        a{
            color: #fff;
            display: block;
            width: 100%;
            i{
                font-size: 18px;
                line-height: 1.5;
            }
            span{
                display: block;
                width: 20px;
                margin: 0 auto
            }
        }
        em{
            display: block;
            width: 24px;
            height: 24px;
            line-height: 24px;
            margin: 3px auto 0;
            border-radius: 24px;
            background-color: #ff666b;
            overflow: hidden;
        }
        .tip {
            position: absolute;
            top: 0;
            right: 46px;
            opacity: 0;
            background-color: #444;
            width: 74px;
            height: 16px;
            line-height: 16px;
            padding: 10px 0;
            border-radius: 2px 0 0 2px;
            visibility: hidden;
            -webkit-transition: all .3s;
            -moz-transition: all .3s;
            -ms-transition: all .3s;
            transition: all .3s;
            cite{
                position: absolute;
                right: -6px;
                top: 10px;
                font-size: 12px;
                color: #444;
            }
        }
        &:hover{
            &>.tip{
                opacity: 1;
                visibility: visible;
            }
            &>a{
                background: #ff666b;
            }
        }
    }
    .sb_cart {
        padding-bottom: 5px;
    }
    .sb_top {
        margin-top: 180px;
        text-align: center;
        line-height: 1.3;        
    }
    .sb_btm {
        bottom: 10px;
        li{
            height: 34px;
        }
    }
    .sb_app .tip {
        width: 140px;
        height: 140px;
        top: -60px;
        cite{
            top: 70px
        }
        p{
            margin-bottom: 5px;
        }
    }
}

